#include <Arduino.h>
#include <Decoder.h>
#include "DecPinConstants.h"

Decoder decoder(DEC_CD, DEC_WR, DEC_RD, DEC_XFLG1, DEC_XFLG2);

unsigned long decoderCount;


void setup()
{
	// Initialize Serial IO
	Serial.begin(9600);
}

void loop()
{
	decoderCount = decoder.getCount();

	Serial.println(decoderCount, DEC);

	delay(500);
}

